package com.ruoyi.work.service;

import java.util.List;

import com.ruoyi.common.core.page.Pages;
import com.ruoyi.common.ehance.MyService;
import com.ruoyi.work.domain.BillReportVo;
import com.ruoyi.work.domain.WorkBill;

/**
 * 计件工作清单Service接口
 * 
 * @author xwj
 * @date 2024-08-14
 */
public interface IWorkBillService extends MyService<WorkBill> {
    /**
     * 查询计件工作清单
     * 
     * @param id 计件工作清单主键
     * @return 计件工作清单
     */
    public WorkBill selectWorkBillById(Long id);

    /**
     * 查询计件工作清单列表
     * 
     * @param workBill 计件工作清单
     * @return 计件工作清单集合
     */
    public List<WorkBill> selectWorkBillList(WorkBill workBill);

    /**
     * 新增计件工作清单
     * 
     * @param workBill 计件工作清单
     * @return 结果
     */
    public WorkBill insertWorkBill(WorkBill workBill);

    /**
     * 修改计件工作清单
     * 
     * @param workBill 计件工作清单
     * @return 结果
     */
    public WorkBill updateWorkBill(WorkBill workBill);

    /**
     * 批量删除计件工作清单
     * 
     * @param ids 需要删除的计件工作清单主键集合
     * @return 结果
     */
    public int deleteWorkBillByIds(Long[] ids);

    /**
     * 删除计件工作清单信息
     * 
     * @param id 计件工作清单主键
     * @return 结果
     */
    public int deleteWorkBillById(Long id);

    int delete(WorkBill workBill);

    Pages<WorkBill> queryPage(WorkBill workBill);

    boolean checkNo(WorkBill workBill);

    List<BillReportVo> queryBillReport(BillReportVo billReportVo);
}
